<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class WechaetDataRequest extends Request
{

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            //getUserinfo获取到的信息，需要sesison_key解密
            'encryptedData' =>'required',
            //解密时需要的数据
            'iv'            =>'required',
        ];
    }
}
